package com.sinopec.yelofixedreader.stock.inn.contract

import com.sinopec.basemodule.base.BaseView
import com.sinopec.basemodule.base.baseImpl.BasePImpl
import com.sinopec.basemodule.model.AddPalletResultModel
import com.sinopec.yelofixedreader.stock.inn.model.StockInApiRequestModel

/**
 * @author lwj
 * @ClassName: StockInRfidContract
 * @Description:入库-rfid扫码界面
 */
interface StockInRfidContract {
    interface View : BaseView {

    }

    abstract class Presenter(view: View) : BasePImpl<View>(view) {

        /**
         * 确认入库-编码校验
         */
        abstract suspend fun confirmStockInOrder(model: StockInApiRequestModel): AddPalletResultModel


        /**
         * 确认入库完成
         */
        abstract fun confirmStockOutOrderFinish(outboundIntegrationId: Long)

    }
}